<?php

namespace app\common\validate;

/**=========================================
 * Copyright © 2023-2024, WICMS.CN. All Rights Reserved
 * Project Name: WiCMS
 * Description: 部门验证器
 * Author: jason
 * Email: 52527998@QQ.COM
 * Date: 2024/12/15
 * Time: 00:45
 * File: app\common\Validate\DepartmentValidate.php
 * =========================================
 */

use think\Validate;

class DepartmentValidate extends Validate
{

    protected $rule = [
        'department_name' => 'require'
    ];

    protected $message = [];

    protected $scene = [
        'add'  => ['department_name'],
        'edit' => ['department_name']
    ];

}